-- GENERATED SPELL FOR [Grizzlesnout] --


function spell0_27523(pUnit, Event) --@Gnaw Bone,n/a--
pUnit:FullCastSpellOnTarget(50046,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27523', 621, 1)
end

function Sorts_27523(pUnit, Event)
local choix_sorts_27523 = math.random(0, 0)
if choix_sorts_27523 == 0 then
pUnit:RegisterEvent('spell0_27523', 1, 1)
end
end

function mob27523_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27523', math.random(1500, 3000), 1)
end

function mob27523_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27523_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27523_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27523, 1, 'mob27523_Action')
RegisterUnitEvent(27523, 2, 'mob27523_Leave')
RegisterUnitEvent(27523, 3, 'mob27523_Kill')
RegisterUnitEvent(27523, 4, 'mob27523_Die')
